﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LienHe.aspx.cs" Inherits="Admin_LienHe" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <style type="text/css">


        .style1
        {
            background-color: #FFFFFF;
            color: #3399FF;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
   
        
        <asp:Menu ID="Menu2" runat="server" BackColor="#B5C7DE" DataSourceID="Menu4" 
            DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="12px" 
            ForeColor="#284E98" Orientation="Horizontal" StaticSubMenuIndent="10px" 
            Width="100%">
            <StaticSelectedStyle BackColor="#507CD1" />
            <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
            <DynamicHoverStyle BackColor="#284E98" ForeColor="White" />
            <DynamicMenuStyle BackColor="#B5C7DE" />
            <DynamicSelectedStyle BackColor="#507CD1" />
            <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
            <StaticHoverStyle BackColor="#284E98" ForeColor="White" />
        </asp:Menu>
        <asp:SiteMapDataSource ID="Menu4" runat="server" ShowStartingNode="False" 
            SiteMapProvider="Menu4" />
    
   
        
        <br />
        <br />
    
    </div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="MaBaiViet" DataSourceID="SqlDataSource1" CellPadding="4" 
            ForeColor="#333333" GridLines="None" Width="419px">
            <RowStyle BackColor="#E3EAEB" />
            <Columns>
                <asp:TemplateField HeaderText="Ý kiến thành viên">
                    <ItemTemplate>
                        <asp:Label ID="Label1" runat="server" Text='<%# Eval("NoiDung") %>' 
                            Font-Size="18px"></asp:Label>
                        <br />
                        Ngày viết:
                        <asp:Label ID="Label2" runat="server" Text='<%# Eval("NgayTao") %>' 
                            Font-Size="12px"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#7C6F57" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
            SelectCommand="SELECT [MaBaiViet], [NoiDung], [NgayTao] FROM [tbl_Phanhoi]">
        </asp:SqlDataSource>
        <br />
        <asp:TextBox ID="txtnoidung" runat="server" Height="120px" 
            TextMode="MultiLine" Width="395px">Admin :</asp:TextBox>
        <br />
    <asp:Button ID="Button2" runat="server" onclick="Button2_Click" 
        Text="Phản hồi" />
        <p>
        <span class="style1">
        <asp:Button 
        ID="Button3" runat="server" onclick="Button3_Click" Text="Đăng xuất" />
    </span>
    
    </p>
    </form>
</body>
</html>
